import Vue from 'vue'
import Vuex from 'vuex'

import permission from './modules/permission'
import user from './modules/user'
import dept from './modules/dept'

import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({

  state: {

  },

  mutations: {

  },

  actions: {

  },

  getters,

  modules: {
    permission,
    user,
    dept
  }

})

export default store
